fanotify: Taint on use of FANOTIFY_ACCESS_PERMISSIONS
authorBen Hutchings <ben@decadent.org.uk>
Wed, 13 Jul 2016 00:37:22 +0000 (01:37 +0100)
committerRaspbian forward porter <root@raspbian.org>
Sun, 30 Oct 2022 17:31:56 +0000 (17:31 +0000)
commit683bbdeeba3aa85d2a6eaf177e70c1b3569e7ab2
treea163cce463ab754978eca4917fa85ce242616df8
parent88b465a89bc745fa87403190969b5d1edfe68aaf
fanotify: Taint on use of FANOTIFY_ACCESS_PERMISSIONS

Forwarded: not-needed

Various free and proprietary AV products use this feature and users
apparently want it.  But punting access checks to userland seems like
an easy way to deadlock the system, and there will be nothing we can
do about that.  So warn and taint the kernel if this feature is
actually used.

Gbp-Pq: Topic debian
Gbp-Pq: Name fanotify-taint-on-use-of-fanotify_access_permissions.patch
fs/notify/fanotify/fanotify_user.c